home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Technotools
/
Technotools (Chestnut CD-ROM)(1993).ISO
/
lang_c
/
cug187
/
strlower.c
< prev
next >
Wrap
C/C++ Source or Header
|
1986-02-26
|
905b
|
28 lines
/*@*****************************************************/
/*@ */
/*@ strlower - change all letters in a string to */
/*@ lower case. */
/*@ */
/*@ Usage: strlower(str); */
/*@ where str is a string. It is converted in */
/*@ place. */
/*@ */
/*@ Result: It returns the address of str. */
/*@ */
/*@ */
/*@*****************************************************/
strlower(str)
char *str;
{
char *save;
save = str;
while (*str) {
*str = tolower(*str);
str++;
}
return save;
}